package com.example.sunmiv1.entity;

import android.text.TextUtils;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018-05-18.
 */

public class TurnoverBean implements Serializable {


    /**
     * status : 1
     * order : [{"id":"9","allmoney":"20","order_id":"383","key":1,"vip_class":"散客","payname":"微信支付","good_info":[{"name":"測試","num":"3","yuan_price":"60.00","goods_allmoney":"180.00"},{"name":"藍月亮","num":"4","yuan_price":"35.00","goods_allmoney":"120.00"}],"coupon":20},{"id":"10","allmoney":"20","order_id":"383","key":2,"vip_class":"散客","payname":"微信支付","good_info":[{"name":"測試","num":"3","yuan_price":"60.00","goods_allmoney":"180.00"},{"name":"藍月亮","num":"4","yuan_price":"35.00","goods_allmoney":"120.00"}],"coupon":20}]
     * x_money : 1262.900001525879
     * w_money : 210
     * z_money : “0”
     * h_money : 1223.0999450683594
     */

    private int status;
    private String c_money;
    private String x_money;
    private String w_money;
    private String z_money;
    private String h_money;
    private String o_money;
    private String r_money;


    private double all_money;
    private String order_count;
    private double order_money;
    private String refund_order_count;
    private double refund_order_money;
    private List<OrderBean> order;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getC_money() {
        return c_money == null ? "" : c_money;
    }

    public void setC_money(String c_money) {
        this.c_money = c_money;
    }

    public String getX_money() {
        return x_money == null ? "" : x_money;
    }

    public void setX_money(String x_money) {
        this.x_money = x_money;
    }

    public String getW_money() {
        return w_money == null ? "" : w_money;
    }

    public void setW_money(String w_money) {
        this.w_money = w_money;
    }

    public String getZ_money() {
        return z_money == null ? "" : z_money;
    }

    public void setZ_money(String z_money) {
        this.z_money = z_money;
    }

    public String getH_money() {
        return h_money == null ? "" : h_money;
    }

    public void setH_money(String h_money) {
        this.h_money = h_money;
    }

    public String getO_money() {
        return o_money == null ? "" : o_money;
    }

    public void setO_money(String o_money) {
        this.o_money = o_money;
    }

    public String getR_money() {
        return r_money == null ? "" : r_money;
    }

    public void setR_money(String r_money) {
        this.r_money = r_money;
    }

    public double getAll_money() {
        return all_money;
    }

    public void setAll_money(double all_money) {
        this.all_money = all_money;
    }

    public String getOrder_count() {
        return order_count == null ? "" : order_count;
    }

    public void setOrder_count(String order_count) {
        this.order_count = order_count;
    }

    public double getOrder_money() {
        return order_money;
    }

    public void setOrder_money(double order_money) {
        this.order_money = order_money;
    }

    public String getRefund_order_count() {
        return refund_order_count == null ? "" : refund_order_count;
    }

    public void setRefund_order_count(String refund_order_count) {
        this.refund_order_count = refund_order_count;
    }

    public double getRefund_order_money() {
        return refund_order_money;
    }

    public void setRefund_order_money(double refund_order_money) {
        this.refund_order_money = refund_order_money;
    }

    public List<OrderBean> getOrder() {
        if (order == null) {
            return new ArrayList<>();
        }
        return order;
    }

    public void setOrder(List<OrderBean> order) {
        this.order = order;
    }

    public static class OrderBean implements Serializable {
        /**
         * id : 9
         * allmoney : 20
         * order_id : 383
         * key : 1
         * vip_class : 散客
         * payname : 微信支付
         * good_info : [{"name":"測試","num":"3","yuan_price":"60.00","goods_allmoney":"180.00"},{"name":"藍月亮","num":"4","yuan_price":"35.00","goods_allmoney":"120.00"}]
         * coupon : 20
         */

        private String id;
        private String all_money; //總價
        private String pay_state; //0未支付 1已支付 2待支付(確認訂單)
        private String refund_status; //商品退款 0正常買單 1申請退款 2退款成功 3部分退款成功（收銀機使用）
        private String type; //1商城 2店內
        private String order_type; //1.購買訂單 2.退款訂單
        private String add_time;
        private String guide_id; //導購員id
        private String order_no; //訂單號
        private String refund_money; //退款金額
        private String amount_received;//實收金額
        private String give_change;//找零
        private String zero_storage;//存零
        private String pay_money;
        private String vip_class;
        private String use_integral;
        private int key;
        private String payname;
        private double coupon;
        private String address_name;
        private String address_phone;
        private String address_address;
        private String user_address;

        private String coupon_money;//優惠金額
        private String status;
        private String pickup_type;//是配送還是自提
        private String have_away;
        private String groupstatus;
        private String discount;//折扣率
        private String vip_dis_money;//折扣金額
        private String vip_less_money;//
        private int order_status;//訂單狀態
        private String delivery_type;//配送方式
        private String remark;//備註
        private String number;
        private String receivables;//應收

        private String user_select_time; //自提、配送
        private String refund_no; // 退款前的原訂單
        private String integral_dis_money; //積分優惠
        private double v_discount; //會員折扣
        private double beforeAllMoney; //之前的金額
        private MecVipBean mec_vip;
        private List<PayListBean> payList;
        private String pay_type_name;
        private double pay_coupon_fee;
        /**
         * 拼團秒殺退款的時候需要的參數，訂單商品總數
         */
        private String shopstatus;
        //        private String group_status;//
        private double discount_amount;//總優惠價
        private String distribution_fee;//配送費
        private String small_changes_money;//抹零金額
        private String cashier_dis_money;//收銀員自定義折扣金額
        private List<GoodsInfoBean> goods_info;

        private String advance_type;//1全額  2定金
        private String earnest_pay_time;//定金支付時間
        private String all_earnest_price;//定金支付金額
        private String finish_time;//尾款支付時間
        private String tail_pay_money;//尾款支付金額
        private String all_arrive_price;//定金抵現
        private String delivery_fee;
        private double tail_money;
        private String state;
        private String all_advance_price;
        private String advance_type_name;//預售方式
        private String state_name;//訂單狀態
        private String cashier_name;//收銀員名稱
        private String trade_date;//尾款支付時間
        private VipInfoBean vipInfo;

        private String integral_marketing;
        private String money_dis_integral;

        private String cashier_manual_money;//單品打折金額

        private String business_remark;
        private String extraction_code;
        private String guide_name;
        private int printNumber=0;
        private String settlement_type;
        private String order_genre;

        public String getOrder_genre() {
            return order_genre == null ? "" : order_genre;
        }

        public void setOrder_genre(String order_genre) {
            this.order_genre = order_genre;
        }

        public String getSettlement_type() {
            return settlement_type == null ? "" : settlement_type;
        }

        public void setSettlement_type(String settlement_type) {
            this.settlement_type = settlement_type;
        }

        public int getPrintNumber() {
            return printNumber;
        }

        public void setPrintNumber(int printNumber) {
            this.printNumber = printNumber;
        }

        public double getPay_coupon_fee() {
            return pay_coupon_fee;
        }

        public void setPay_coupon_fee(double pay_coupon_fee) {
            this.pay_coupon_fee = pay_coupon_fee;
        }

        public String getGuide_name() {
            return guide_name == null ? "" : guide_name;
        }

        public void setGuide_name(String guide_name) {
            this.guide_name = guide_name;
        }

        public String getPickup_type() {
            return pickup_type == null ? "" : pickup_type;
        }

        public void setPickup_type(String pickup_type) {
            this.pickup_type = pickup_type;
        }

        public String getPay_type_name() {
            return pay_type_name == null ? "" : pay_type_name;
        }

        public void setPay_type_name(String pay_type_name) {
            this.pay_type_name = pay_type_name;
        }

        public String getBusiness_remark() {
            return business_remark == null ? "—————" : business_remark;
        }

        public void setBusiness_remark(String business_remark) {
            this.business_remark = business_remark;
        }

        public VipInfoBean getVipInfo() {
            return vipInfo;
        }

        public void setVipInfo(VipInfoBean vipInfo) {
            this.vipInfo = vipInfo;
        }

        public String getCashier_manual_money() {
            return cashier_manual_money == null ? "" : cashier_manual_money;
        }

        public void setCashier_manual_money(String cashier_manual_money) {
            this.cashier_manual_money = cashier_manual_money;
        }

        public String getIntegral_marketing() {
            return integral_marketing == null ? "" : integral_marketing;
        }

        public void setIntegral_marketing(String integral_marketing) {
            this.integral_marketing = integral_marketing;
        }

        public String getMoney_dis_integral() {
            return money_dis_integral == null ? "" : money_dis_integral;
        }

        public void setMoney_dis_integral(String money_dis_integral) {
            this.money_dis_integral = money_dis_integral;
        }

        public String getUser_address() {
            return user_address == null ? "" : user_address;
        }

        public void setUser_address(String user_address) {
            this.user_address = user_address;
        }

        public String getTrade_date() {
            return trade_date == null ? "" : trade_date;
        }

        public void setTrade_date(String trade_date) {
            this.trade_date = trade_date;
        }

        public String getCashier_name() {
            return cashier_name == null ? "" : cashier_name;
        }

        public void setCashier_name(String cashier_name) {
            this.cashier_name = cashier_name;
        }

        public VipInfoBean getVipInfoBean() {
            return vipInfo;
        }

        public void setVipInfoBean(VipInfoBean vipInfo) {
            this.vipInfo = vipInfo;
        }

        public static class VipInfoBean implements Serializable {

            private String nickname;
            private String name;
            private String balance;
            private String mobile_phone;
            private String integral;

            public void setIntegral(String integral) {
                this.integral = integral;
            }

            public String getIntegral() {
                return integral == null ? "" : integral;
            }

            public String getNickname() {
                return nickname == null ? "" : nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getName() {
                return name == null ? "" : name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getBalance() {
                return balance == null ? "" : balance;
            }

            public void setBalance(String balance) {
                this.balance = balance;
            }

            public String getMobile_phone() {
                return mobile_phone == null ? "" : mobile_phone;
            }

            public void setMobile_phone(String mobile_phone) {
                this.mobile_phone = mobile_phone;
            }
        }

        public static class MecVipBean {

            private String name;
            private String code;


            public String getName() {
                return name == null ? "" : name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCode() {
                return code == null ? "" : code;
            }

            public void setCode(String code) {
                this.code = code;
            }
        }

        public MecVipBean getMec_vip() {
            return mec_vip;
        }

        public void setMec_vip(MecVipBean mec_vip) {
            this.mec_vip = mec_vip;
        }

        public String getState_name() {
            return state_name == null ? "" : state_name;
        }

        public void setState_name(String state_name) {
            this.state_name = state_name;
        }

        public String getAdvance_type_name() {
            return advance_type_name == null ? "" : advance_type_name;
        }

        public void setAdvance_type_name(String advance_type_name) {
            this.advance_type_name = advance_type_name;
        }

        public String getAll_advance_price() {
            return all_advance_price == null ? "" : all_advance_price;
        }

        public void setAll_advance_price(String all_advance_price) {
            this.all_advance_price = all_advance_price;
        }

        public String getState() {
            return state == null ? "" : state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public double getTail_money() {
            return tail_money;
        }

        public void setTail_money(double tail_money) {
            this.tail_money = tail_money;
        }

        public String getDelivery_fee() {
            return delivery_fee == null ? "0" : delivery_fee;
        }

        public void setDelivery_fee(String delivery_fee) {
            this.delivery_fee = delivery_fee;
        }

        public String getAll_arrive_price() {
            return all_arrive_price == null ? "0" : all_arrive_price;
        }

        public void setAll_arrive_price(String all_arrive_price) {
            this.all_arrive_price = all_arrive_price;
        }

        public String getAdvance_type() {
            return advance_type == null ? "" : advance_type;
        }

        public void setAdvance_type(String advance_type) {
            this.advance_type = advance_type;
        }

        public String getEarnest_pay_time() {
            return earnest_pay_time == null ? "" : earnest_pay_time;
        }

        public void setEarnest_pay_time(String earnest_pay_time) {
            this.earnest_pay_time = earnest_pay_time;
        }

        public String getAll_earnest_price() {
            return all_earnest_price == null ? "" : all_earnest_price;
        }

        public void setAll_earnest_price(String all_earnest_price) {
            this.all_earnest_price = all_earnest_price;
        }

        public String getFinish_time() {
            return finish_time == null ? "" : finish_time;
        }

        public void setFinish_time(String finish_time) {
            this.finish_time = finish_time;
        }

        public String getTail_pay_money() {
            return tail_pay_money == null ? "" : tail_pay_money;
        }

        public void setTail_pay_money(String tail_pay_money) {
            this.tail_pay_money = tail_pay_money;
        }

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAll_money() {
            return all_money == null ? "" : all_money;
        }

        public void setAll_money(String all_money) {
            this.all_money = all_money;
        }

        public String getPay_state() {
            return pay_state == null ? "" : pay_state;
        }

        public void setPay_state(String pay_state) {
            this.pay_state = pay_state;
        }

        public String getRefund_status() {
            return refund_status == null ? "" : refund_status;
        }

        public void setRefund_status(String refund_status) {
            this.refund_status = refund_status;
        }

        public String getType() {
            return type == null ? "" : type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getOrder_type() {
            return order_type == null ? "" : order_type;
        }

        public void setOrder_type(String order_type) {
            this.order_type = order_type;
        }

        public String getAdd_time() {
            return add_time == null ? "" : add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public String getGuide_id() {
            return guide_id == null ? "" : guide_id;
        }

        public void setGuide_id(String guide_id) {
            this.guide_id = guide_id;
        }

        public String getOrder_no() {
            return order_no == null ? "" : order_no;
        }

        public void setOrder_no(String order_no) {
            this.order_no = order_no;
        }

        public String getRefund_money() {
            return refund_money == null ? "" : refund_money;
        }

        public void setRefund_money(String refund_money) {
            this.refund_money = refund_money;
        }

        public String getAmount_received() {
            return amount_received == null ? "" : amount_received;
        }

        public void setAmount_received(String amount_received) {
            this.amount_received = amount_received;
        }

        public String getGive_change() {
            return give_change == null ? "" : give_change;
        }

        public void setGive_change(String give_change) {
            this.give_change = give_change;
        }

        public String getZero_storage() {
            return zero_storage == null ? "" : zero_storage;
        }

        public void setZero_storage(String zero_storage) {
            this.zero_storage = zero_storage;
        }

        public String getPay_money() {
            return pay_money == null ? "" : pay_money;
        }

        public void setPay_money(String pay_money) {
            this.pay_money = pay_money;
        }

        public String getVip_class() {
            return vip_class == null ? "" : vip_class;
        }

        public void setVip_class(String vip_class) {
            this.vip_class = vip_class;
        }

        public String getUse_integral() {
            return use_integral == null ? "" : use_integral;
        }

        public void setUse_integral(String use_integral) {
            this.use_integral = use_integral;
        }

        public int getKey() {
            return key;
        }

        public void setKey(int key) {
            this.key = key;
        }

        public String getPayname() {
            return payname == null ? "" : payname;
        }

        public void setPayname(String payname) {
            this.payname = payname;
        }

        public double getCoupon() {
            return coupon;
        }

        public void setCoupon(double coupon) {
            this.coupon = coupon;
        }

        public String getAddress_name() {
            return address_name == null ? "" : address_name;
        }

        public void setAddress_name(String address_name) {
            this.address_name = address_name;
        }

        public String getAddress_phone() {
            return address_phone == null ? "" : address_phone;
        }

        public void setAddress_phone(String address_phone) {
            this.address_phone = address_phone;
        }

        public String getAddress_address() {
            String address = address_address == null ? "" : address_address;
            return TextUtils.isEmpty(address) ? getUser_address() : address;
        }

        public void setAddress_address(String address_address) {
            this.address_address = address_address;
        }

        public String getCoupon_money() {
            return coupon_money == null ? "0" : coupon_money;
        }

        public void setCoupon_money(String coupon_money) {
            this.coupon_money = coupon_money;
        }

        public String getStatus() {
            return status == null ? "" : status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getHave_away() {
            return have_away == null ? "" : have_away;
        }

        public void setHave_away(String have_away) {
            this.have_away = have_away;
        }

        public String getGroupstatus() {
            return groupstatus == null ? "" : groupstatus;
        }

        public void setGroupstatus(String groupstatus) {
            this.groupstatus = groupstatus;
        }

        public String getDiscount() {
            return discount == null ? "" : discount;
        }

        public void setDiscount(String discount) {
            this.discount = discount;
        }

        public String getVip_dis_money() {
            return vip_dis_money == null ? "" : vip_dis_money;
        }

        public void setVip_dis_money(String vip_dis_money) {
            this.vip_dis_money = vip_dis_money;
        }

        public String getVip_less_money() {
            return vip_less_money == null ? "" : vip_less_money;
        }

        public void setVip_less_money(String vip_less_money) {
            this.vip_less_money = vip_less_money;
        }

        public int getOrder_status() {
            return order_status;
        }

        public void setOrder_status(int order_status) {
            this.order_status = order_status;
        }

        public String getDelivery_type() {
            return delivery_type == null ? "" : delivery_type;
        }

        public void setDelivery_type(String delivery_type) {
            this.delivery_type = delivery_type;
        }

        public String getRemark() {
            return remark == null ? "" : remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getNumber() {
            return number == null ? "" : number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getReceivables() {
            return receivables == null ? "" : receivables;
        }

        public void setReceivables(String receivables) {
            this.receivables = receivables;
        }

        public String getUser_select_time() {
            return user_select_time == null ? "" : user_select_time;
        }

        public void setUser_select_time(String user_select_time) {
            this.user_select_time = user_select_time;
        }

        public String getRefund_no() {
            return refund_no == null ? "" : refund_no;
        }

        public void setRefund_no(String refund_no) {
            this.refund_no = refund_no;
        }

        public String getIntegral_dis_money() {
            return integral_dis_money == null ? "" : integral_dis_money;
        }

        public void setIntegral_dis_money(String integral_dis_money) {
            this.integral_dis_money = integral_dis_money;
        }

        public double getV_discount() {
            return v_discount;
        }

        public void setV_discount(double v_discount) {
            this.v_discount = v_discount;
        }

        public double getBeforeAllMoney() {
            return beforeAllMoney;
        }

        public void setBeforeAllMoney(double beforeAllMoney) {
            this.beforeAllMoney = beforeAllMoney;
        }

        public List<PayListBean> getPayList() {
            if (payList == null) {
                return new ArrayList<>();
            }
            return payList;
        }

        public void setPayList(List<PayListBean> payList) {
            this.payList = payList;
        }

        public String getShopstatus() {
            return shopstatus == null ? "" : shopstatus;
        }

        public void setShopstatus(String shopstatus) {
            this.shopstatus = shopstatus;
        }

        public double getDiscount_amount() {
            return discount_amount;
        }

        public void setDiscount_amount(double discount_amount) {
            this.discount_amount = discount_amount;
        }

        public String getDistribution_fee() {
            return distribution_fee == null ? "0" : distribution_fee;
        }

        public void setDistribution_fee(String distribution_fee) {
            this.distribution_fee = distribution_fee;
        }

        public String getSmall_changes_money() {
            return small_changes_money == null ? "" : small_changes_money;
        }

        public void setSmall_changes_money(String small_changes_money) {
            this.small_changes_money = small_changes_money;
        }

        public String getCashier_dis_money() {
            return cashier_dis_money == null ? "" : cashier_dis_money;
        }

        public void setCashier_dis_money(String cashier_dis_money) {
            this.cashier_dis_money = cashier_dis_money;
        }

        public List<GoodsInfoBean> getGoods_info() {
            if (goods_info == null) {
                return new ArrayList<>();
            }
            return goods_info;
        }

        public void setGoods_info(List<GoodsInfoBean> goods_info) {
            this.goods_info = goods_info;
        }

        public static class PayListBean implements Serializable {
            private String name;
            private String money;
            private int type;
            private String pay_type_name;

            public String getPay_type_name() {
                return pay_type_name == null ? "" : pay_type_name;
            }

            public void setPay_type_name(String pay_type_name) {
                this.pay_type_name = pay_type_name;
            }

            public String getName() {
                return name == null ? "" : name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getMoney() {
                return money == null ? "" : money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }

        public static class GoodsInfoBean implements Serializable {
            /**
             * name : 測試
             * num : 3
             * yuan_price : 60.00
             * goods_allmoney : 180.00
             */
            private String id;
            private String vip_discount; //會員折扣
            private String goods_id;
            private String sku_id;
            private String goods_name;
            private double num;
            private double refund_num; //退款數量
            private String is_vip_price;//是否是vip價格
            private double vip_price; //vip價格
            private double plus_vip_price;
            private String original_price;
            private String price;
            private String all_money;
            private String goods_type;
            private String attribute_state;
            private String sku_name;
            private String discount; //商品折扣
            private double before_all_money;//之前一種商品金額

            private String integral_marketing;
            private int mem_integral;

            private String company;

            private String pricing_method;

            private String serial_number_state;

            private List<SerialListBean> serial_list;
            private String code_price_state;

            public String getCode_price_state() {
                return code_price_state == null ? "" : code_price_state;
            }

            public void setCode_price_state(String code_price_state) {
                this.code_price_state = code_price_state;
            }

            public List<SerialListBean> getSerial_list() {
                if (serial_list == null) {
                    return new ArrayList<>();
                }
                return serial_list;
            }

            public void setSerial_list(List<SerialListBean> serial_list) {
                this.serial_list = serial_list;
            }

            public String getId() {
                return id == null ? "" : id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getSku_id() {
                return sku_id == null ? "" : sku_id;
            }

            public void setSku_id(String sku_id) {
                this.sku_id = sku_id;
            }

            public static class SerialListBean implements Serializable {
                private String id;
                private String main_serial_number;
                private String auxiliary_serial_number_one;
                private String auxiliary_serial_number_two;
                private String edit_type;

                public SerialListBean(String id, String main_serial_number, String auxiliary_serial_number_one, String auxiliary_serial_number_two) {
                    this.id = id;
                    this.main_serial_number = main_serial_number;
                    this.auxiliary_serial_number_one = auxiliary_serial_number_one;
                    this.auxiliary_serial_number_two = auxiliary_serial_number_two;
                }
                public SerialListBean(String main_serial_number, String auxiliary_serial_number_one, String auxiliary_serial_number_two) {
                    this.main_serial_number = main_serial_number;
                    this.auxiliary_serial_number_one = auxiliary_serial_number_one;
                    this.auxiliary_serial_number_two = auxiliary_serial_number_two;
                }

                public String getEdit_type() {
                    return edit_type == null ? "" : edit_type;
                }

                public void setEdit_type(String edit_type) {
                    this.edit_type = edit_type;
                }

                public String getId() {
                    return id == null ? "" : id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getMain_serial_number() {
                    return main_serial_number == null ? "" : main_serial_number;
                }

                public void setMain_serial_number(String main_serial_number) {
                    this.main_serial_number = main_serial_number;
                }

                public String getAuxiliary_serial_number_one() {
                    return auxiliary_serial_number_one == null ? "" : auxiliary_serial_number_one;
                }

                public void setAuxiliary_serial_number_one(String auxiliary_serial_number_one) {
                    this.auxiliary_serial_number_one = auxiliary_serial_number_one;
                }

                public String getAuxiliary_serial_number_two() {
                    return auxiliary_serial_number_two == null ? "" : auxiliary_serial_number_two;
                }

                public void setAuxiliary_serial_number_two(String auxiliary_serial_number_two) {
                    this.auxiliary_serial_number_two = auxiliary_serial_number_two;
                }
            }

            public String getSerial_number_state() {
                return serial_number_state == null ? "" : serial_number_state;
            }

            public void setSerial_number_state(String serial_number_state) {
                this.serial_number_state = serial_number_state;
            }

            public String getPricing_method() {
                return pricing_method == null ? "" : pricing_method;
            }

            public void setPricing_method(String pricing_method) {
                this.pricing_method = pricing_method;
            }

            public String getCompany() {
                return company == null ? "" : company;
            }

            public void setCompany(String company) {
                this.company = company;
            }

            public String getIntegral_marketing() {
                return integral_marketing == null ? "" : integral_marketing;
            }

            public void setIntegral_marketing(String integral_marketing) {
                this.integral_marketing = integral_marketing;
            }

            public int getMem_integral() {
                return mem_integral;
            }

            public void setMem_integral(int mem_integral) {
                this.mem_integral = mem_integral;
            }

            public double getPlus_vip_price() {
                return plus_vip_price;
            }

            public void setPlus_vip_price(double plus_vip_price) {
                this.plus_vip_price = plus_vip_price;
            }

            public String getVip_discount() {
                return vip_discount == null ? "" : vip_discount;
            }

            public void setVip_discount(String vip_discount) {
                this.vip_discount = vip_discount;
            }

            public double getRefund_num() {
                return refund_num;
            }

            public void setRefund_num(double refund_num) {
                this.refund_num = refund_num;
            }

            public String getOriginal_price() {
                return original_price == null ? "" : original_price;
            }

            public void setOriginal_price(String original_price) {
                this.original_price = original_price;
            }

            public String getAttribute_state() {
                return attribute_state == null ? "" : attribute_state;
            }

            public void setAttribute_state(String attribute_state) {
                this.attribute_state = attribute_state;
            }

            public String getDiscount() {
                return discount == null ? "" : discount;
            }

            public void setDiscount(String discount) {
                this.discount = discount;
            }

            public double getBefore_all_money() {
                return before_all_money;
            }

            public void setBefore_all_money(double before_all_money) {
                this.before_all_money = before_all_money;
            }

            public String getIs_vip_price() {
                return is_vip_price == null ? "" : is_vip_price;
            }

            public void setIs_vip_price(String is_vip_price) {
                this.is_vip_price = is_vip_price;
            }

            public double getVip_price() {
                return vip_price;
            }

            public void setVip_price(double vip_price) {
                this.vip_price = vip_price;
            }

            public String getGoods_id() {
                return goods_id == null ? "" : goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getGoods_type() {
                return goods_type == null ? "" : goods_type;
            }

            public void setGoods_type(String goods_type) {
                this.goods_type = goods_type;
            }

            private int promotion_type;//判斷是不是促銷商品
            private int bundle_number;//促銷商品的數量

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getGoods_name() {
                return goods_name == null ? "" : goods_name + (TextUtils.isEmpty(getSku_name()) ? "" : "-" + getSku_name());
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public double getNum() {
                return num;
            }

            public void setNum(double num) {
                this.num = num;
            }

            public String getAll_money() {
                return all_money == null ? "" : all_money;
            }

            public void setAll_money(String all_money) {
                this.all_money = all_money;
            }

            public String getSku_name() {
                return sku_name == null ? "" : sku_name;
            }

            public void setSku_name(String sku_name) {
                this.sku_name = sku_name;
            }

            public int getPromotion_type() {
                return promotion_type;
            }

            public void setPromotion_type(int promotion_type) {
                this.promotion_type = promotion_type;
            }

            public int getBundle_number() {
                return bundle_number;
            }

            public void setBundle_number(int bundle_number) {
                this.bundle_number = bundle_number;
            }
        }

        public String getExtraction_code() {
            return extraction_code == null ? "" : extraction_code;
        }

        public void setExtraction_code(String extraction_code) {
            this.extraction_code = extraction_code;
        }
    }
}
